package com.epk.pic.vo;

import com.epk.pic.vo.base.PageDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class PicQueryVo extends PageDomain implements Serializable {
    private String title;
    private String auth;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    private Integer searchSub;
    private String targetsRelate;
    private Map<String, String> targetsMap; //标签

    private List<String> targetGroup; //后置转换


}